StoreKeeper\WooCommerce\B2C\Models\TaskModel S

Total Complexity 25
Dependencies 2
Dependents 20
Total lines 265
Lines of code 179
Logical lines of code 75
Comment lines 1
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
createTable()
S
58 1 23
getFieldsWithRequired()
S
58 1 17
getLastThousandSuccessfulTaskIds()
S
58 1 17
newTask()
S
58 1 16
getMetaDataKey()
S
66 2 8
countTasksByCreatedDateTimeRange()
S
65 2 8
purge()
S
66 2 9
getName()
S
69 2 7
read()
S
67 2 8
alterTable()
S
62 2 10
purgeAllKeepLast1000()
S
61 1 12
purgeOrderThanXDays()
S
61 1 12
update()
S
71 1 5
create()
S
74 1 4
countTasks()
S
78 1 3
countFailedTasks()
S
78 1 3
countSuccessfulTasks()
S
78 1 3
prepareCreatedDateTimeRangeSelect()
S
69 1 7
getExecutionDurationSumByCreatedDateTimeRange()
S
67 1 7